package com.dream.technology.service.impl;

import com.dream.technology.db.dao.RcOperationalSymbolMapper;
import com.dream.technology.db.entity.RcOperationalSymbol;
import com.dream.technology.db.entity.RcOperationalSymbolQuery;
import com.dream.technology.service.RcOperationalSymbolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rcOperationalSymbolService")
public class RcOperationalSymbolServiceImpl implements RcOperationalSymbolService {

    @Autowired
    RcOperationalSymbolMapper rcOperationalSymbolMapper;

    @Override
    public int countByExample(RcOperationalSymbolQuery example) {
        return rcOperationalSymbolMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(RcOperationalSymbolQuery example) {
        return rcOperationalSymbolMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return rcOperationalSymbolMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(RcOperationalSymbol record) {
        return rcOperationalSymbolMapper.insert(record);
    }

    @Override
    public int insertSelective(RcOperationalSymbol record) {
        return rcOperationalSymbolMapper.insertSelective(record);
    }

    @Override
    public List<RcOperationalSymbol> selectByExample(RcOperationalSymbolQuery example) {
        return rcOperationalSymbolMapper.selectByExample(example);
    }

    @Override
    public RcOperationalSymbol selectByPrimaryKey(Long id) {
        return rcOperationalSymbolMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(RcOperationalSymbol record, RcOperationalSymbolQuery example) {
        return rcOperationalSymbolMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(RcOperationalSymbol record, RcOperationalSymbolQuery example) {
        return rcOperationalSymbolMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(RcOperationalSymbol record) {
        return rcOperationalSymbolMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(RcOperationalSymbol record) {
        return rcOperationalSymbolMapper.updateByPrimaryKey(record);
    }

    /**
     * 查询所有比较符
     *
     * @return
     */
    @Override
    public List<RcOperationalSymbol> selectAll() {
        return rcOperationalSymbolMapper.selectAll();
    }
}
